html,
body,
h4,ul,li,div,p {
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', Arial, '微软雅黑', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
body{
    background: url(../assets/bgV3.jpg) no-repeat;
    background-size:cover;
    background-position: left center;
}
ul,li{
    list-style: none;
}
.wapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.main {
    width: 378px;
    background: #fff;
    float: right;
    margin-right: 10%;
    position: relative;
    top:50%;
    transform: translateY(-50%);
}

.main .title {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}
.main .errorMsg{
    border:solid 1px #FF4040;
    background:rgba(255, 64, 64, 0.1);
    color: #ff4040;
    padding: 5px 0;
    margin-bottom: 16px;
    padding-left: 10px;
    font-size: 12px;
}
.main .errorMsg img{
    vertical-align: middle;
    width: 16px;
    margin-right: 5px;
}
.main .title h4 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    font-family: PingFang SC;
}

.item {
    width: 100%;
    margin-bottom: 16px;
}

.input {
    border: solid 1px #ccc;
    box-sizing: border-box;
    height: 44px;
    text-align: center;
    display:flex;
}

.line {
    color: #DBDBDB;
}

.input input {
    border: 0;
    background: none;
    outline: none;
    font-size: 14px;
    height: 42px;
    flex:1;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 0 1000px white inset;
    box-shadow: 0 0 0 1000px white inset;
}
input::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #ccc;
}
input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #ccc;
}
.input span{
    width: 16px;
    display:inline-block;
    height: 16px;
    margin-top: 12px;
    margin-left: 10px;
    margin-right: 12px;
    vertical-align: middle;
}
.input span.username{
    background:url(../assets/icon-user-namen.png);
    background-size:100% 100%;
}
.input span.username.no-empety{
    background:url(../assets/user-name@3x.png);
    background-size:100% 100%;
}
.input span.password{
    background:url(../assets/icon-user-password-2@3x.png);
    background-size:100% 100%;
}
.input span.password.no-empety{
    background:url(../assets/icon-user-password@3x.png);
    background-size:100% 100%;
}
.input.error{
    border:solid 1px #ff4040;
}
.input span.eye{
    background:url(../assets/eye1.png);
    background-size:100% 100%;
    cursor: pointer;
}
.input span.icon-eye3{
    background:url(../assets/eye3.png);
    background-size:100% 100%;
    cursor: pointer;
}

.main .link {
    padding-bottom: 12px;
}

.main .link a {
    color: #2B7BCD;
    text-decoration: none;
    font-size: 12px;

}

.conFrom {
    width: 83%;
    margin: 0 auto;
}

.submit {
    height: 40px;
    width: 100%;
    background: #284E80;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 14px;
    -webkit-appearance:none;
}
@media screen and (max-width: 640px) {

    .wapper .box .main{
        width: 100%;
    }

    .title h4 {
        text-align: center;
        font-size: 20px;
    }
    .conFrom {
        margin: 0 auto;
        width:68%;
    }
}
.mask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ccc;
    top:0;
    left: 0;
    opacity: 0.1;
    display: none;
}

.footer{
    color: #ccc;
    text-align: center;
    font-size: 12px;
    position: fixed;
    bottom: 3%;
    width: 100%;
    letter-spacing: 1px;

}
.dn{
    display: none;
}

@media screen and (min-width: 1367px) {
    body{
        background-image: url(../assets/bgV3@2x.jpg);
    }
    .main {
        width: 500px;
    }
    .footer{
        font-size: 14px;
    }
    .main .title {
        margin-top: 30px;
    }
    .main .title h4 {
        font-size: 30px;
    }
    .submit {
        height: 44px;
        margin-top: 32px;
        margin-bottom: 32px;
        font-size: 16px;
    }
    .item {
        margin-bottom: 20px;
    }
    .input {
        height: 54px;
    }
    .input input {
        font-size: 14px;
        height: 52px;
    }
    .input span{
        width: 18px;
        height: 18px;
        margin-top: 16px;
        margin-left: 12px;
        margin-right: 12px;
    }
}

@media screen and (min-width: 2000px) {
    body{
        background-image: url(../assets/bgV3@3x.jpg);
    }
    .main {
        width: 550px;
    }
    .footer{
        font-size: 14px;
    }
    .main .title {
        margin-top: 40px;
    }
    .main .title h4 {
        font-size: 30px;
    }
    .item {
        margin-bottom: 22px;
    }
    .submit {
        height: 50px;
        margin-top: 40px;
        margin-bottom: 40px;
        font-size: 18px;
    }
    .input {
        height: 60px;
    }
    .input input {
        font-size: 16px;
        height: 58px;
    }
    .input span{
        width: 20px;
        height: 20px;
        margin-top: 18px;
        margin-left: 12px;
        margin-right: 12px;
    }
}